package gui.mainFrame.testConditionViewer.branchViewer;

import gui.GUIController;
import javax.swing.JPanel;
import testGenerator.Controller;

/**
 *
 * @author William
 */
public class BranchGraphController
{

    private final Controller controller;
    private GraphPanel graphPanel;

    public BranchGraphController(GUIController guiController, Controller controller)
    {
        this.controller = controller;
    }

    public JPanel getJGraph()
    {
        graphPanel = new GraphPanel(this.controller);
        return graphPanel;
    }

    public void render()
    {
        graphPanel.render();

    }
}
